module.exports = {
  // outputDir: 'docs',
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/',

  // 基本路径
  // baseUrl: '/',
  // 输出文件目录
  outputDir: 'dist',

  devServer: {
    // host: '192.168.0.236',
    host: '0.0.0.0',
    port: '8080',
    proxy: {
      '': {
        target: 'http://192.168.0.200:8000',
        changeOrigin: true,
        ws: false,
        pathRewrite: {
            
        }
      }
    },
    // sockHost: 'http://192.168.0.236:8080',
    sockHost: 'http://192.168.0.174:8080',
    disableHostCheck: true
  },
  configureWebpack: {
    externals: {
      AMap: "AMap"
    }
  },

  lintOnSave: false
};
